package com.sen.organization.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sen.organization.bo.SearchDepartmentBo;
import com.sen.organization.model.MemberDepartment;
import org.apache.ibatis.annotations.Param;

public interface MemberDepartmentDao  extends BaseMapper<MemberDepartment> {

    /**
     * 查询实体列表
     * @return
     */
    IPage<SearchDepartmentBo> listSearchDepartment(Page<SearchDepartmentBo> page, @Param("departmentName") String departmentName, @Param("entityCode") String entityCode);


}
